package com.wx.app.spacewhisper.service;

import com.wx.app.spacewhisper.entity.Whisper;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestHeader;


@Service
public interface WhisperService {

    /**
     * 插入吐槽
     * @param content 吐槽内容
     * @return 返回一个整数
     */
    int insertWhisper(String content,@RequestHeader("token") String token);

    Whisper selectWhisperById(Integer id);
}
